
package cn.com.luolai.ws.elt;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.0.0
 * 2014-07-24T17:25:33.369+08:00
 * Generated source version: 3.0.0
 * 
 */
public final class EltDataInfoService_EltDataInfoServicePort_Client {

    private static final QName SERVICE_NAME = new QName("http://elt.ws.luolai.com.cn/", "EltDataInfoService");

    private EltDataInfoService_EltDataInfoServicePort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = EltDataInfoService_Service.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        EltDataInfoService_Service ss = new EltDataInfoService_Service(wsdlURL, SERVICE_NAME);
        EltDataInfoService port = ss.getEltDataInfoServicePort();  
        
        {
        System.out.println("Invoking synDealerInfo...");
        java.util.List<cn.com.luolai.ws.elt.DealerInfoDto> _synDealerInfo__return = port.synDealerInfo();
        System.out.println("synDealerInfo.result=" + _synDealerInfo__return);


        }
        {
        System.out.println("Invoking synStoreInfo...");
        java.util.List<cn.com.luolai.ws.elt.StoreInfoDto> _synStoreInfo__return = port.synStoreInfo();
        System.out.println("synStoreInfo.result=" + _synStoreInfo__return);


        }
        {
        System.out.println("Invoking synReservationInfo...");
        cn.com.luolai.ws.elt.ReservationInfo _synReservationInfo_arg0 = null;
        port.synReservationInfo(_synReservationInfo_arg0);


        }
        {
        System.out.println("Invoking synOaStoreInfo...");
        cn.com.luolai.ws.elt.StoreInfoVo _synOaStoreInfo_arg0 = null;
        cn.com.luolai.ws.elt.RestResponse _synOaStoreInfo__return = port.synOaStoreInfo(_synOaStoreInfo_arg0);
        System.out.println("synOaStoreInfo.result=" + _synOaStoreInfo__return);


        }
        {
        System.out.println("Invoking synStorePersonInfo...");
        java.util.List<cn.com.luolai.ws.elt.StorePersonInfoDto> _synStorePersonInfo__return = port.synStorePersonInfo();
        System.out.println("synStorePersonInfo.result=" + _synStorePersonInfo__return);


        }
        {
        System.out.println("Invoking synProductInfo...");
        java.util.List<cn.com.luolai.ws.elt.ProductInfoDto> _synProductInfo__return = port.synProductInfo();
        System.out.println("synProductInfo.result=" + _synProductInfo__return);


        }
        {
        System.out.println("Invoking helloWorld...");
        java.lang.String _helloWorld__return = port.helloWorld();
        System.out.println("helloWorld.result=" + _helloWorld__return);


        }

        System.exit(0);
    }

}
